#include <stdio.h>
int main()
{
    int a[100] = {0};
    a[0] = 1;
    for (int i = 0; i < 10000; i++)
    {
        for(int j=0;j<100;j++)
        {
            a[j]*=2;
        }
        for (int j = 0; j < 99; j++)
            if (a[j] >= 10)
            {
                a[j + 1] = a[j+1] + 1;
                a[j] = a[j] - 10;
            }
    }
    int flag=0;
    for(int i=99;i>=0;i--)
    {
        if(a[i]!=0)
        flag=1;
        if(flag)
        printf("%d",a[i]);
    }
    return 0;
}